package cn.maxwell.product.mapper;

import cn.maxwell.basic.mapper.BaseMapper;
import cn.maxwell.product.domain.Product;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 下架
     * @param offsaletime
     * @param ids
     */
    void offsale(@Param("offsaletime") Date offsaletime, @Param("id") List<Long> ids);
}
